func net/http/internal/http2.streamError
28 uses
net/http/internal/http2 (current package)
errors.go#L83: func streamError(id uint32, code ErrCode) StreamError {
frame.go#L1032: return nil, streamError(fh.StreamID, ErrCodeProtocol)
frame.go#L1118: return nil, streamError(fh.StreamID, ErrCodeProtocol)
server.go#L1236: sc.resetStream(streamError(st.id, ErrCodeNo))
server.go#L1457: return sc.countError("data_flow", streamError(f.Header().StreamID, ErrCodeFlowControl))
server.go#L1542: return sc.countError("bad_flow", streamError(f.StreamID, ErrCodeFlowControl))
server.go#L1567: sc.closeStream(st, streamError(f.StreamID, f.ErrCode))
server.go#L1736: return sc.countError("data_flow", streamError(id, ErrCodeFlowControl))
server.go#L1744: return sc.countError("closed", streamError(id, ErrCodeStreamClosed))
server.go#L1753: return sc.countError("data_flow", streamError(id, ErrCodeFlowControl))
server.go#L1761: return sc.countError("send_too_much", streamError(id, ErrCodeProtocol))
server.go#L1766: return sc.countError("flow_on_data_length", streamError(id, ErrCodeFlowControl))
server.go#L1891: return sc.countError("headers_half_closed", streamError(id, ErrCodeStreamClosed))
server.go#L1919: return sc.countError("over_max_streams", streamError(id, ErrCodeProtocol))
server.go#L1926: return sc.countError("over_max_streams_race", streamError(id, ErrCodeRefusedStream))
server.go#L2016: return sc.countError("trailers_not_ended", streamError(st.id, ErrCodeProtocol))
server.go#L2020: return sc.countError("trailers_pseudo", streamError(st.id, ErrCodeProtocol))
server.go#L2023: return sc.countError("trailers_too_large", streamError(st.id, ErrCodeProtocol))
server.go#L2032: return sc.countError("trailers_bogus", streamError(st.id, ErrCodeProtocol))
server.go#L2047: return sc.countError("priority", streamError(streamID, ErrCodeProtocol))
server.go#L2075: return sc.countError("unparsable_priority_update", streamError(f.PrioritizedStreamID, ErrCodeProtocol))
server.go#L2129: return nil, nil, sc.countError("bad_connect", streamError(f.StreamID, ErrCodeProtocol))
server.go#L2135: return nil, nil, sc.countError("bad_connect", streamError(f.StreamID, ErrCodeProtocol))
server.go#L2148: return nil, nil, sc.countError("bad_path_method", streamError(f.StreamID, ErrCodeProtocol))
server.go#L2175: return nil, nil, sc.countError("bodyless_content_length", streamError(f.StreamID, ErrCodeProtocol))
server.go#L2180: return nil, nil, sc.countError("duplicate_content_length", streamError(f.StreamID, ErrCodeProtocol))
server.go#L2202: return nil, nil, sc.countError(res.InvalidReason, streamError(st.id, ErrCodeProtocol))
transport.go#L2848: serr := streamError(cs.ID, f.ErrCode)